package com.zmj.utils;

public class Message {
	private int code;
	private String mes;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMes() {
		return mes;
	}
	public void setMes(String mes) {
		this.mes = mes;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{\"code\":\"");
		builder.append(code);
		builder.append("\",\"mes\":\"");
		builder.append(mes);
		builder.append("\"}");
		return builder.toString();
	}
}
